package com.snake.springboot.authority.api.model;

/**
 * 类 {@code CacheRewriteCommand}  <br> .
 * <p>缓存重写请求命令
 * 创建时间：2025/01/06 10:06
 * @author yxt
 * @see
 */
public class CacheRewriteCommand {

    /**
     *  动作标识  1：重新加载菜单信息  9：重写用户信息缓存
     */
    private int action;

    public interface actionType{
        int roleType=1;
    }




    public CacheRewriteCommand(int action) {
        this.action = action;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }

    @Override
    public String toString() {
        return "CacheRewriteCommand{" +
                "action=" + action +
                '}';
    }
}
